<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      Samba-4.12.0
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;15.&nbsp;Networking Programs
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="rsync.html" title="rsync-3.1.3">Prev</a>
          <p>
            rsync-3.1.3
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="wget.html" title="Wget-1.20.3">Next</a>
          <p>
            Wget-1.20.3
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="netprogs.html" title=
          "Chapter&nbsp;15.&nbsp;Networking Programs">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="samba" name="samba"></a>Samba-4.12.0
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to Samba
        </h2>
        <p>
          The <span class="application">Samba</span> package provides file
          and print services to SMB/CIFS clients and Windows networking to
          Linux clients. <span class="application">Samba</span> can also be
          configured as a Windows Domain Controller replacement, a file/print
          server acting as a member of a Windows Active Directory domain and
          a NetBIOS (rfc1001/1002) nameserver (which among other things
          provides LAN browsing support).
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://www.samba.org/ftp/samba/stable/samba-4.12.0.tar.gz">https://www.samba.org/ftp/samba/stable/samba-4.12.0.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 387dd6b03bd01ac17534e439562af3f5
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 17 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 634 MB (add 69 MB for
                quicktest)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 3.3 SBU (using parallelism=4; add 1.8
                SBU for quicktest)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Samba Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../postlfs/gnutls.html" title=
          "GnuTLS-3.6.13">GnuTLS-3.6.13</a>, <a class="xref" href=
          "../general/jansson.html" title="Jansson-2.12">jansson-2.12</a>,
          <a class="xref" href="libtirpc.html" title=
          "libtirpc-1.2.5">libtirpc-1.2.5</a>, <a class="xref" href=
          "../server/lmdb.html" title="lmdb-0.9.24">lmdb-0.9.24</a>, and
          <a class="xref" href="rpcsvc-proto.html" title=
          "rpcsvc-proto-1.4.1">rpcsvc-proto-1.4.1</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="../postlfs/fuse.html" title=
          "Fuse-3.9.1">Fuse-3.9.1</a>, <a class="xref" href=
          "../postlfs/gpgme.html" title="GPGME-1.13.1">GPGME-1.13.1</a>,
          <a class="xref" href="../general/libxslt.html" title=
          "libxslt-1.1.34">libxslt-1.1.34</a> (for documentation), <a class=
          "xref" href="../postlfs/linux-pam.html" title=
          "Linux-PAM-1.3.1">Linux-PAM-1.3.1</a>, <a class="xref" href=
          "../general/perl-modules.html#perl-parse-yapp" title=
          "Parse::Yapp-1.21">Parse-Yapp-1.21</a>, <a class="xref" href=
          "../general/python-modules.html#pycryptodome" title=
          "PyCryptodome-3.9.7">PyCryptodome-3.9.7</a>, and <a class="xref"
          href="../server/openldap.html" title=
          "OpenLDAP-2.4.49">OpenLDAP-2.4.49</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="avahi.html" title="Avahi-0.8">Avahi-0.8</a>,
          <a class="xref" href="../server/bind.html" title=
          "BIND-9.16.1">BIND-9.16.1</a>, <a class="xref" href=
          "../pst/cups.html" title="Cups-2.3.1">Cups-2.3.1</a>, <a class=
          "xref" href="../postlfs/cyrus-sasl.html" title=
          "Cyrus SASL-2.1.27">Cyrus SASL-2.1.27</a>, <a class="xref" href=
          "../general/gdb.html" title="GDB-9.1">GDB-9.1</a>, <a class="xref"
          href="../general/git.html" title="Git-2.26.0">git-2.26.0</a>,
          <a class="xref" href="../postlfs/gnupg.html" title=
          "GnuPG-2.2.20">GnuPG-2.2.20</a> (required for ADS and testsuite),
          <a class="xref" href="../general/libaio.html" title=
          "libaio-0.3.112">libaio-0.3.112</a>, <a class="xref" href=
          "../general/libarchive.html" title=
          "libarchive-3.4.2">libarchive-3.4.2</a>, <a class="xref" href=
          "../postlfs/libcap.html" title="libcap-2.33 with PAM">libcap-2.33
          with PAM</a>, <a class="xref" href="../general/libgcrypt.html"
          title="libgcrypt-1.8.5">libgcrypt-1.8.5</a>, <a class="xref" href=
          "libnsl.html" title="libnsl-1.2.0">libnsl-1.2.0</a>, <a class=
          "xref" href="../postlfs/mitkrb.html" title=
          "MIT Kerberos V5-1.18">MIT Kerberos V5-1.18</a>, <a class="xref"
          href="../postlfs/nss.html" title="NSS-3.51">NSS-3.51</a>, <a class=
          "xref" href="../general/popt.html" title="Popt-1.16">popt-1.16</a>,
          <a class="xref" href="../general/talloc.html" title=
          "Talloc-2.3.1">Talloc-2.3.1</a> (included), <a class="xref" href=
          "../general/vala.html" title="Vala-0.48.2">Vala-0.48.2</a>,
          <a class="xref" href="../general/valgrind.html" title=
          "Valgrind-3.15.0">Valgrind-3.15.0</a> (optionally used by the test
          suite), <a class="xref" href="../postlfs/xfsprogs.html" title=
          "xfsprogs-5.5.0">xfsprogs-5.5.0</a>, <a class="ulink" href=
          "https://cmocka.org/">cmocka</a>, <a class="ulink" href=
          "https://ctdb.samba.org/">ctdb</a> (included), <a class="ulink"
          href="https://cwrap.org/">cwrap</a>, <a class="ulink" href=
          "https://pypi.python.org/pypi/dnspython/">dnspython</a>, <a class=
          "ulink" href="https://packages.debian.org/stretch/fam/">FAM</a>,
          <a class="ulink" href=
          "https://people.gnome.org/~veillard/gamin/">Gamin</a>, <a class=
          "ulink" href="https://github.com/gluster/glusterfs/">GlusterFS</a>,
          <a class="ulink" href="http://www.h5l.org/">Heimdal</a> (included),
          <a class="ulink" href=
          "http://www.nongnu.org/libunwind/">libunwind</a>, <a class="ulink"
          href="https://ldb.samba.org/">ldb</a> (included), <a class="ulink"
          href="https://pypi.python.org/pypi/m2crypto">M2Crypto</a> (required
          for ADS), <a class="ulink" href=
          "http://www.openafs.org/">OpenAFS</a>, <a class="ulink" href=
          "https://pypi.python.org/pypi/pygpgme/">PyGPGME</a> (recommended
          for ADS), <a class="ulink" href=
          "https://tevent.samba.org/">tevent</a> (included), and <a class=
          "ulink" href="https://tdb.samba.org/">tdb</a> (included)
        </p>
        <h4>
          Optional (for the Developer Test Suite)
        </h4>
        <p class="optional">
          Install in listed order: <a class="xref" href=
          "../general/python-modules.html#six" title=
          "six-1.14.0">six-1.14.0</a>, <a class="ulink" href=
          "https://pypi.python.org/pypi/argparse/">argparse</a>, <a class=
          "ulink" href="https://pypi.python.org/pypi/extras/">extras</a>,
          <a class="ulink" href="https://pypi.python.org/pypi/py/">py</a>,
          <a class="ulink" href=
          "https://pypi.python.org/pypi/enum34/">enum34</a>, <a class="ulink"
          href="https://pypi.python.org/pypi/hypothesis/">hypothesis</a>,
          <a class="ulink" href=
          "https://pypi.python.org/pypi/pytest/">pytest</a>, <a class="ulink"
          href="https://pypi.python.org/pypi/coverage/">coverage</a>,
          <a class="ulink" href=
          "https://pypi.python.org/pypi/pytest-cov/">pytest-cov</a>,
          <a class="ulink" href=
          "https://pypi.python.org/pypi/doctools/">doctools</a>, <a class=
          "ulink" href=
          "https://pypi.python.org/pypi/unittest2/">unittest2</a>, <a class=
          "ulink" href=
          "https://pypi.python.org/pypi/testtools/">testtools</a>, <a class=
          "ulink" href="https://pypi.python.org/pypi/fixtures/">fixtures</a>,
          <a class="ulink" href=
          "https://pypi.python.org/pypi/python-mimeparse/">python-mimeparse</a>,
          <a class="ulink" href=
          "https://pypi.python.org/pypi/contextlib2/">contextlib2</a>,
          <a class="ulink" href=
          "https://pypi.python.org/pypi/traceback2/">traceback2</a>,
          <a class="ulink" href=
          "https://pypi.python.org/pypi/linecache2/">linecache2</a>,
          <a class="ulink" href=
          "https://pypi.python.org/pypi/testscenarios/">testscenarios</a>,
          <a class="ulink" href=
          "https://pypi.python.org/pypi/testresources/">testresources</a>,
          <a class="ulink" href=
          "https://pypi.python.org/pypi/virtualenv/">virtualenv</a>,
          <a class="ulink" href="https://pypi.python.org/pypi/pbr/">pbr</a>,
          and <a class="ulink" href=
          "https://pypi.python.org/pypi/python-subunit/">python-subunit</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/samba4">http://wiki.linuxfromscratch.org/blfs/wiki/samba4</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Samba
        </h2>
        <p>
          Fix a test that always fails:
        </p>
        <pre class="userinput">
<kbd class=
"command">echo "^samba4.rpc.echo.*on.*ncacn_np.*with.*object.*nt4_dc" &gt;&gt; selftest/knownfail</kbd>
</pre>
        <p>
          Install <span class="application">Samba</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">CFLAGS="-I/usr/include/tirpc"          \
LDFLAGS="-ltirpc"                      \
./configure                            \
    --prefix=/usr                      \
    --sysconfdir=/etc                  \
    --localstatedir=/var               \
    --with-piddir=/run/samba           \
    --with-pammodulesdir=/lib/security \
    --enable-fhs                       \
    --without-ad-dc                    \
    --without-systemd                  \
    --enable-selftest                  &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, as the <code class="systemitem">root</code>
          user, issue: <span class="command"><strong>make
          quicktest</strong></span>. The test suite will produce lines that
          look like failures, but these are innocuous. The last few lines of
          output should report <span class="emphasis"><em>"ALL
          OK"</em></span> for a good test run. A summary of any failures can
          be found in <code class="filename">./st/summary</code>. With
          Samba-4.12.0, many tests are known to fail.
        </p>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            Additionally, developer test suites are available. If you've
            installed the optional python modules above, you can run these
            tests with <span class="command"><strong>make
            test</strong></span>. It is not recommended for the average
            builder at around 290 SBU and over a gigabyte of disk space, and
            you should expect ~73 errors and ~30 failures from the 3000+
            tests.
          </p>
        </div>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install &amp;&amp;

mv -v /usr/lib/libnss_win{s,bind}.so*   /lib                       &amp;&amp;
ln -v -sf ../../lib/libnss_winbind.so.2 /usr/lib/libnss_winbind.so &amp;&amp;
ln -v -sf ../../lib/libnss_wins.so.2    /usr/lib/libnss_wins.so    &amp;&amp;

install -v -m644    examples/smb.conf.default /etc/samba &amp;&amp;

mkdir -pv /etc/openldap/schema                        &amp;&amp;

install -v -m644    examples/LDAP/README              \
                    /etc/openldap/schema/README.LDAP  &amp;&amp;

install -v -m644    examples/LDAP/samba*              \
                    /etc/openldap/schema              &amp;&amp;

install -v -m755    examples/LDAP/{get*,ol*} \
                    /etc/openldap/schema</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--enable-fhs</code></em>: Assigns all
          other file paths in a manner compliant with the Filesystem
          Hierarchy Standard (FHS).
        </p>
        <p>
          <em class="parameter"><code>--without-systemd</code></em>: Disable
          <span class="application">systemd</span> integration, since it is
          not built in the System V version of LFS/BLFS.
        </p>
        <p>
          <em class="parameter"><code>--without-ad-dc</code></em>: Disable
          Active Directory Domain Controller functionality. See <a class=
          "ulink" href=
          "https://wiki.samba.org/index.php/Setup_a_Samba_Active_Directory_Domain_Controller">
          Setup a Samba Active Directory Domain Controller</a> for detailed
          information. Remove this switch if you've installed the Python
          modules needed for ADS support. Note that BLFS does not provide a
          samba bootscript for an Active Directory domain controller.
        </p>
        <p>
          <code class="option">--with-selftest-prefix=SELFTEST_PREFIX</code>:
          This option specifies the test suite work directory (default=./st).
        </p>
        <p>
          <span class="command"><strong>mv -v /usr/lib/libnss_win{s,bind}.so*
          /lib</strong></span>: The nss libraries are installed in
          <code class="filename">/usr/lib</code> by default. Move them to
          <code class="filename">/lib</code>.
        </p>
        <p>
          <span class="command"><strong>ln -v -sf
          ../../lib/libnss_winbind.so.2
          /usr/lib/libnss_winbind.so</strong></span> and <span class=
          "command"><strong>ln -v -sf ../../lib/libnss_wins.so.2
          /usr/lib/libnss_wins.so</strong></span>: These symlinks are
          required when applications build against these libraries.
        </p>
        <p>
          <span class="command"><strong>install -v -m644 examples/LDAP/*
          /etc/openldap/schema</strong></span>: These commands are used to
          copy sample Samba schemas to the OpenLDAP <code class=
          "filename">schema</code> directory.
        </p>
        <p>
          <span class="command"><strong>install -v -m644
          ../examples/smb.conf.default /etc/samba</strong></span>: This
          copies a default <code class="filename">smb.conf</code> file into
          <code class="filename">/etc/samba</code>. This sample configuration
          will not work until you copy it to <code class=
          "filename">/etc/samba/smb.conf</code> and make the appropriate
          changes for your installation. See the configuration section for
          minimum values which must be set.
        </p>
      </div>
      <div class="configuration" lang="en" xml:lang="en">
        <h2 class="sect2">
          Configuring Samba
        </h2>
        <div class="sect3" lang="en" xml:lang="en">
          <h3 class="sect3">
            <a id="samba-config" name="samba-config"></a>
          </h3>
          <h4 class="title">
            <a id="samba-config" name="samba-config"></a>Config Files
          </h4>
          <p>
            /etc/samba/smb.conf
          </p>
        </div>
        <div class="sect3" lang="en" xml:lang="en">
          <h3 class="sect3"></h3>
          <h4 class="title">
            <a id="idm140006441377616" name="idm140006441377616"></a>Printing
            to SMB Clients
          </h4>
          <p>
            If you use <span class="application">CUPS</span> for print
            services, and you wish to print to a printer attached to an SMB
            client, you need to create an SMB backend device. To create the
            device, issue the following command as the <code class=
            "systemitem">root</code> user:
          </p>
          <pre class="root">
<kbd class="command">install -dvm 755 /usr/lib/cups/backend &amp;&amp;
ln -v -sf /usr/bin/smbspool /usr/lib/cups/backend/smb</kbd>
</pre>
        </div>
        <div class="sect3" lang="en" xml:lang="en">
          <h3 class="sect3"></h3>
          <h4 class="title">
            <a id="idm140006441372880" name=
            "idm140006441372880"></a>Configuration Information
          </h4>
          <p>
            Due to the complexity and the many various uses for <span class=
            "application">Samba</span>, complete configuration for all the
            package's capabilities is well beyond the scope of the BLFS book.
            This section provides instructions to configure the <code class=
            "filename">/etc/samba/smb.conf</code> file for two common
            scenarios. The complete contents of <code class=
            "filename">/etc/samba/smb.conf</code> will depend on the purpose
            of <span class="application">Samba</span> installation.
          </p>
          <div class="admon note">
            <img alt="[Note]" src="../images/note.png" />
            <h3>
              Note
            </h3>
            <p>
              You may find it easier to copy the configuration parameters
              shown below into an empty <code class=
              "filename">/etc/samba/smb.conf</code> file instead of copying
              and editing the default file as mentioned in the <span class=
              "quote">&ldquo;<span class="quote">Command
              Explanations</span>&rdquo;</span> section. How you create/edit
              the <code class="filename">/etc/samba/smb.conf</code> file will
              be left up to you. Do ensure the file is only writeable by the
              <code class="systemitem">root</code> user (mode 644).
            </p>
          </div>
          <div class="sect4">
            <div class="titlepage">
              <div>
                <div>
                  <h5 class="title">
                    <a id="idm140006441364624" name=
                    "idm140006441364624"></a>Scenario 1: Minimal Standalone
                    Client-Only Installation
                  </h5>
                </div>
              </div>
            </div>
            <p>
              Choose this variant if you only want to transfer files using
              <span class="command"><strong>smbclient</strong></span>, mount
              Windows shares and print to Windows printers, and don't want to
              share your files and printers to Windows machines.
            </p>
            <p>
              A <code class="filename">/etc/samba/smb.conf</code> file with
              the following three parameters is sufficient:
            </p>
            <pre class="root">
<code class="literal">[global]
    workgroup = <em class="replaceable"><code>MYGROUP</code></em>
    dos charset = <em class="replaceable"><code>cp850</code></em>
    unix charset = <em class=
"replaceable"><code>ISO-8859-1</code></em></code>
</pre>
            <p>
              The values in this example specify that the computer belongs to
              a Windows workgroup named <span class=
              "quote">&ldquo;<span class="quote"><em class=
              "replaceable"><code>MYGROUP</code></em></span>&rdquo;</span>,
              uses the <span class="quote">&ldquo;<span class=
              "quote"><em class=
              "replaceable"><code>cp850</code></em></span>&rdquo;</span>
              character set on the wire when talking to MS-DOS and MS Windows
              9x, and that the filenames are stored in the <span class=
              "quote">&ldquo;<span class="quote"><em class=
              "replaceable"><code>ISO-8859-1</code></em></span>&rdquo;</span>
              encoding on the disk. Adjust these values appropriately for
              your installation. The <span class="quote">&ldquo;<span class=
              "quote">unix charset</span>&rdquo;</span> value must be the
              same as the output of <span class="command"><strong>locale
              charmap</strong></span> when executed with the <code class=
              "envar">LANG</code> variable set to your preferred locale,
              otherwise the <span class="command"><strong>ls</strong></span>
              command may not display correct filenames of downloaded files.
            </p>
            <p>
              There is no need to run any <span class=
              "application">Samba</span> servers in this scenario, thus you
              don't need to install the provided bootscripts.
            </p>
          </div>
          <div class="sect4">
            <div class="titlepage">
              <div>
                <div>
                  <h5 class="title">
                    <a id="idm140006441352528" name=
                    "idm140006441352528"></a>Scenario 2: Standalone
                    File/Print Server
                  </h5>
                </div>
              </div>
            </div>
            <p>
              Choose this variant if you want to share your files and
              printers to Windows machines in your workgroup in addition to
              the capabilities described in Scenario 1.
            </p>
            <p>
              In this case, the <code class=
              "filename">/etc/samba/smb.conf.default</code> file may be a
              good template to start from. Also add <span class=
              "quote">&ldquo;<span class="quote">dos
              charset</span>&rdquo;</span> and <span class=
              "quote">&ldquo;<span class="quote">unix
              charset</span>&rdquo;</span> parameters to the <span class=
              "quote">&ldquo;<span class=
              "quote">[global]</span>&rdquo;</span> section as described in
              Scenario 1 in order to prevent filename corruption. For
              security reasons, you may wish to define <em class=
              "replaceable"><code>path =
              /home/alice/shared-files</code></em>, assuming your user name
              is <em class="replaceable"><code>alice</code></em> and you only
              want to share the files in that directory, instead of your
              entire home. Then, replace <em class=
              "replaceable"><code>homes</code></em> by <em class=
              "replaceable"><code>shared-files</code></em> and change also
              the <span class="quote">&ldquo;<span class="quote"><code class=
              "literal">comment</code></span>&rdquo;</span> if used the
              configuration file below or the <code class=
              "filename">/etc/samba/smb.conf.default</code> to create yours.
            </p>
            <p>
              The following configuration file creates a separate share for
              each user's home directory and also makes all printers
              available to Windows machines:
            </p>
            <pre class="root">
<code class="literal">[global]
    workgroup = <em class="replaceable"><code>MYGROUP</code></em>
    dos charset = <em class="replaceable"><code>cp850</code></em>
    unix charset = <em class="replaceable"><code>ISO-8859-1</code></em>

[homes]
    comment = Home Directories
    browseable = no
    writable = yes

[printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
    guest ok = no
    printable = yes</code>
</pre>
            <p>
              Other parameters you may wish to customize in the <span class=
              "quote">&ldquo;<span class=
              "quote">[global]</span>&rdquo;</span> section include:
            </p>
            <pre class="root">
<code class="literal">    server string =
    security =
    hosts allow =
    load printers =
    log file =
    max log size =
    socket options =
    local master =</code>
</pre>
            <p>
              Reference the comments in the <code class=
              "filename">/etc/samba/smb.conf.default</code> file for
              information regarding these parameters.
            </p>
            <p>
              Since the <span class="command"><strong>smbd</strong></span>
              and <span class="command"><strong>nmbd</strong></span> daemons
              are needed in this case, install the <code class=
              "filename">samba</code> bootscript. Be sure to run <span class=
              "command"><strong>smbpasswd</strong></span> (with the
              <code class="option">-a</code> option to add users) to enable
              and set passwords for all accounts that need <span class=
              "application">Samba</span> access. Using the default
              <span class="application">Samba</span> passdb backend, any user
              you attempt to add will also be required to exist in the
              <code class="filename">/etc/passwd</code> file.
            </p>
          </div>
          <div class="sect4">
            <div class="titlepage">
              <div>
                <div>
                  <h5 class="title">
                    <a id="idm140006441331488" name=
                    "idm140006441331488"></a>Advanced Requirements
                  </h5>
                </div>
              </div>
            </div>
            <p>
              More complex scenarios involving domain control or membership
              are possible. Such setups are advanced topics and cannot be
              adequately covered in BLFS. Many complete books have been
              written on these topics alone. Note that in some domain
              membership scenarios, the <span class=
              "command"><strong>winbindd</strong></span> daemon and the
              corresponding bootscript are needed.
            </p>
            <p>
              There is quite a bit of documentation available which covers
              many of these advanced configurations. Point your web browser
              to the links below to view some of the documentation included
              with the <span class="application">Samba</span> package:
            </p>
            <div class="itemizedlist">
              <ul class="compact">
                <li class="listitem">
                  <p>
                    Using Samba, 2nd Edition; a popular book published by
                    O'Reilly <a class="ulink" href=
                    "http://www.samba.org/samba/docs/using_samba/toc.html">http://www.samba.org/samba/docs/using_samba/toc.html</a>
                  </p>
                </li>
                <li class="listitem">
                  <p>
                    The Official Samba HOWTO and Reference Guide <a class=
                    "ulink" href=
                    "http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/">
                    http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/</a>
                  </p>
                </li>
                <li class="listitem">
                  <p>
                    Samba-3 by Example <a class="ulink" href=
                    "http://www.samba.org/samba/docs/man/Samba-Guide/">http://www.samba.org/samba/docs/man/Samba-Guide/</a>
                  </p>
                </li>
              </ul>
            </div>
          </div>
          <div class="sect4">
            <div class="titlepage">
              <div>
                <div>
                  <h5 class="title">
                    <a id="idm140006441322928" name=
                    "idm140006441322928"></a>Guest account
                  </h5>
                </div>
              </div>
            </div>
            <p>
              The default <span class="application">Samba</span> installation
              uses the <code class="systemitem">nobody</code> user for guest
              access to the server. This can be overridden by setting the
              <code class="option">guest account =</code> parameter in the
              <code class="filename">/etc/samba/smb.conf</code> file. If you
              utilize the <code class="option">guest account =</code>
              parameter, ensure this user exists in the <code class=
              "filename">/etc/passwd</code> file.
            </p>
          </div>
          <div class="sect4">
            <div class="titlepage">
              <div>
                <div>
                  <h5 class="title">
                    <a id="samba-init" name="samba-init"></a>Boot Script
                  </h5>
                </div>
              </div>
            </div>
            <p>
              For your convenience, boot scripts have been provided for
              <span class="application">Samba</span>. There are two included
              in the <a class="xref" href="../introduction/bootscripts.html"
              title="BLFS Boot Scripts">blfs-bootscripts-20191204</a>
              package. The first, <code class="filename">samba</code>, will
              start the <span class="command"><strong>smbd</strong></span>
              and <span class="command"><strong>nmbd</strong></span> daemons
              needed to provide SMB/CIFS services. The second script,
              <code class="filename">winbind</code>, starts the <span class=
              "command"><strong>winbindd</strong></span> daemon, used for
              providing Windows domain services to Linux clients.
            </p>
            <pre class="root">
<kbd class="command">make install-samba</kbd>
</pre>
            <pre class="root">
<kbd class="command">make install-winbindd</kbd>
</pre>
          </div>
        </div>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">cifsdd, dbwrap_tool, dumpmscat,
              eventlogadm, findsmb,gentest, ldbadd, ldbdel, ldbedit,
              ldbmodify, ldbrename, ldbsearch, locktest, masktest, mdfind,
              mvxattr, ndrdump, net, nmbd, nmblookup, ntlm_auth,
              oLschema2ldif, pdbedit, profiles, regdiff, regpatch, regshell,
              regtree, rpcclient, samba, samba_dnsupdate, samba_downgrade_db,
              samba_kcc, samba-gpupdate, samba-regedit, samba_spnupdate,
              samba-tool, samba_upgradedns, sharesec, smbcacls, smbclient,
              smbcontrol, smbcquotas, smbd, smbget, smbpasswd, smbspool,
              smbstatus, smbtar, smbtorture, smbtree, tdbbackup, tdbdump,
              tdbrestore, tdbtool, testparm, wbinfo, and winbindd</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libdcerpc-binding.so, libdcerpc-samr.so,
              libdcerpc-server-core.so, libdcerpc-server.so, libdcerpc.so,
              libndr-krb5pac.so, libndr-nbt.so, libndr.so,
              libndr-standard.so, libnetapi.so, libnss_winbind.so,
              libnss_wins.so, libsamba-credentials.so, libsamba-errors.so,
              libsamba-hostconfig.so, libsamba-passdb.so,
              libsamba-policy.cpython-38-x86_64-linux-gnu.so,
              libsamba-util.so, libsamdb.so, libsmbclient.so, libsmbconf.so,
              libsmbldap.so, libtevent-util.so, libwbclient.so, and
              winbind_krb5_locator.so; the pam_winbind.so PAM library; and
              assorted character set, filesystem and support modules under
              /usr/lib/{python3.8,samba}</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/etc/samba, /run/samba,
              /usr/include/samba-4.0, /usr/lib/python3.8/site-packages/samba,
              /usr/libexec/samba, /usr/{lib,share}/samba, and
              /var/{cache,lib,lock,log,run}/samba</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="cifsdd" name="cifsdd"></a><span class=
                    "term"><span class=
                    "command"><strong>cifsdd</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the dd command for SMB.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="dbwrap_tool" name="dbwrap_tool"></a><span class=
                    "term"><span class=
                    "command"><strong>dbwrap_tool</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to read and manipulate TDB/CTDB databases using
                    the dbwrap interface.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="eventlogadm" name="eventlogadm"></a><span class=
                    "term"><span class=
                    "command"><strong>eventlogadm</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to write records to eventlogs from STDIN, add the
                    specified source and DLL eventlog registry entries and
                    display the active eventlog names (from <code class=
                    "filename">smb.conf</code>).
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="findsmb" name="findsmb"></a><span class=
                    "term"><span class=
                    "command"><strong>findsmb</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to list info about machines that respond to SMB
                    name queries on a subnet.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="gentest" name="gentest"></a><span class=
                    "term"><span class=
                    "command"><strong>gentest</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to run random generic SMB operations against two
                    SMB servers and show the differences in behavior.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ldbadd" name="ldbadd"></a><span class=
                    "term"><span class=
                    "command"><strong>ldbadd</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a command-line utility for adding records to an LDB
                    database.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ldbdel" name="ldbdel"></a><span class=
                    "term"><span class=
                    "command"><strong>ldbdel</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a command-line program for deleting LDB database
                    records.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ldbedit" name="ldbedit"></a><span class=
                    "term"><span class=
                    "command"><strong>ldbedit</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    allows you to edit LDB databases using your preferred
                    editor.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ldbmodify" name="ldbmodify"></a><span class=
                    "term"><span class=
                    "command"><strong>ldbmodify</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    allows you to modify records in an LDB database.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ldbrename" name="ldbrename"></a><span class=
                    "term"><span class=
                    "command"><strong>ldbrename</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    allows you to rename LDB databases.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ldbsearch" name="ldbsearch"></a><span class=
                    "term"><span class=
                    "command"><strong>ldbsearch</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    searches an LDB database for records matching a specified
                    expression.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="locktest" name="locktest"></a><span class=
                    "term"><span class=
                    "command"><strong>locktest</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to find differences in locking between two SMB
                    servers.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="masktest" name="masktest"></a><span class=
                    "term"><span class=
                    "command"><strong>masktest</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to find differences in wildcard matching between
                    Samba's implementation and that of a remote server.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="mdfind" name="mdfind"></a><span class=
                    "term"><span class=
                    "command"><strong>mdfind</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    runs <span class="application">Spotlight</span> searches
                    against a SMB server.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="mvxattr" name="mvxattr"></a><span class=
                    "term"><span class=
                    "command"><strong>mvxattr</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to recursively rename extended attributes.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ndrdump" name="ndrdump"></a><span class=
                    "term"><span class=
                    "command"><strong>ndrdump</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a DCE/RPC Packet Parser and Dumper.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="net" name="net"></a><span class=
                    "term"><span class="command"><strong>net</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a tool for administration of <span class=
                    "application">Samba</span> and remote CIFS servers,
                    similar to the <span class=
                    "command"><strong>net</strong></span> utility for
                    DOS/Windows.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="nmbd" name="nmbd"></a><span class=
                    "term"><span class=
                    "command"><strong>nmbd</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the <span class="application">Samba</span> NetBIOS
                    name server.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="nmblookup" name="nmblookup"></a><span class=
                    "term"><span class=
                    "command"><strong>nmblookup</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to query NetBIOS names and map them to IP
                    addresses.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ntlm_auth" name="ntlm_auth"></a><span class=
                    "term"><span class=
                    "command"><strong>ntlm_auth</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a tool to allow external access to Winbind's NTLM
                    authentication function.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="oLschema2ldif" name=
                    "oLschema2ldif"></a><span class="term"><span class=
                    "command"><strong>oLschema2ldif</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    converts LDAP schema's to LDB-compatible LDIF.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="pdbedit" name="pdbedit"></a><span class=
                    "term"><span class=
                    "command"><strong>pdbedit</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a tool used to manage the SAM database.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="profiles" name="profiles"></a><span class=
                    "term"><span class=
                    "command"><strong>profiles</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a utility that reports and changes SIDs in Windows
                    registry files. It currently only supports Windows NT.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="regdiff" name="regdiff"></a><span class=
                    "term"><span class=
                    "command"><strong>regdiff</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a Diff program for Windows registry files.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="regpatch" name="regpatch"></a><span class=
                    "term"><span class=
                    "command"><strong>regpatch</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    applies registry patches to registry files.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="regshell" name="regshell"></a><span class=
                    "term"><span class=
                    "command"><strong>regshell</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a Windows registry file browser using readline.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="regtree" name="regtree"></a><span class=
                    "term"><span class=
                    "command"><strong>regtree</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a text-mode registry viewer.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="rpcclient" name="rpcclient"></a><span class=
                    "term"><span class=
                    "command"><strong>rpcclient</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to execute MS-RPC client side functions.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="samba-prog" name="samba-prog"></a><span class=
                    "term"><span class=
                    "command"><strong>samba</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a server to provide AD and SMB/CIFS services to
                    clients.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="samba_dnsupdate" name=
                    "samba_dnsupdate"></a><span class="term"><span class=
                    "command"><strong>samba_dnsupdate</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to update our DNS names using TSIG-GSS.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="samba_downgrade_db" name=
                    "samba_downgrade_db"></a><span class="term"><span class=
                    "command"><strong>samba_downgrade_db</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    downgrades the Samba AD database to be compatible with a
                    previous version of Samba.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="samba_kcc" name="samba_kcc"></a><span class=
                    "term"><span class=
                    "command"><strong>samba_kcc</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a script used to compute your KCC (Knowledge
                    Consistency Checker) topology.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="samba-gpupdate" name=
                    "samba-gpupdate"></a><span class="term"><span class=
                    "command"><strong>samba-gpupdate</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    allows you to edit Microsoft Group Policy Objects (GPOs).
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="samba-regedit" name=
                    "samba-regedit"></a><span class="term"><span class=
                    "command"><strong>samba-regedit</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a ncurses based tool to manage the Samba registry.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="samba_spnupdate" name=
                    "samba_spnupdate"></a><span class="term"><span class=
                    "command"><strong>samba_spnupdate</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a script to update the servicePrincipalName names from
                    spn_update_list.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="samba-tool" name="samba-tool"></a><span class=
                    "term"><span class=
                    "command"><strong>samba-tool</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the main Samba administration tool.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="samba_upgradedns" name=
                    "samba_upgradedns"></a><span class="term"><span class=
                    "command"><strong>samba_upgradedns</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a Unix SMB/CIFS implementation.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="sharesec" name="sharesec"></a><span class=
                    "term"><span class=
                    "command"><strong>sharesec</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    manipulates share ACL permissions on SMB file shares.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="smbcacls" name="smbcacls"></a><span class=
                    "term"><span class=
                    "command"><strong>smbcacls</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to manipulate Windows NT access control lists.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="smbclient" name="smbclient"></a><span class=
                    "term"><span class=
                    "command"><strong>smbclient</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a SMB/CIFS access utility, similar to FTP.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="smbcontrol" name="smbcontrol"></a><span class=
                    "term"><span class=
                    "command"><strong>smbcontrol</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to control running <span class=
                    "command"><strong>smbd</strong></span>, <span class=
                    "command"><strong>nmbd</strong></span> and <span class=
                    "command"><strong>winbindd</strong></span> daemons.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="smbcquotas" name="smbcquotas"></a><span class=
                    "term"><span class=
                    "command"><strong>smbcquotas</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is used to manipulate Windows NT quotas on SMB file
                    shares.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="smbd" name="smbd"></a><span class=
                    "term"><span class=
                    "command"><strong>smbd</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the main <span class="application">Samba</span> daemon
                    which provides SMB/CIFS services to clients.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="smbget" name="smbget"></a><span class=
                    "term"><span class=
                    "command"><strong>smbget</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a simple utility with <span class=
                    "command"><strong>wget</strong></span>-like semantics,
                    that can download files from SMB servers. You can specify
                    the files you would like to download on the command-line.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="smbpasswd" name="smbpasswd"></a><span class=
                    "term"><span class=
                    "command"><strong>smbpasswd</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    changes a user's <span class="application">Samba</span>
                    password.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="smbspool" name="smbspool"></a><span class=
                    "term"><span class=
                    "command"><strong>smbspool</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    sends a print job to an SMB printer.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="smbstatus" name="smbstatus"></a><span class=
                    "term"><span class=
                    "command"><strong>smbstatus</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    reports current <span class="application">Samba</span>
                    connections.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="smbtar" name="smbtar"></a><span class=
                    "term"><span class=
                    "command"><strong>smbtar</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a shell script used for backing up SMB/CIFS shares
                    directly to Linux tape drives or a file.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="smbtorture" name="smbtorture"></a><span class=
                    "term"><span class=
                    "command"><strong>smbtorture</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a testsuite that runs several tests against a SMB
                    server.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="smbtree" name="smbtree"></a><span class=
                    "term"><span class=
                    "command"><strong>smbtree</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a text-based SMB network browser.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="tdbbackup" name="tdbbackup"></a><span class=
                    "term"><span class=
                    "command"><strong>tdbbackup</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a tool for backing up or validating the integrity of
                    <span class="application">Samba</span> <code class=
                    "filename">.tdb</code> files.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="tdbdump" name="tdbdump"></a><span class=
                    "term"><span class=
                    "command"><strong>tdbdump</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a tool used to print the contents of a <span class=
                    "application">Samba</span> <code class=
                    "filename">.tdb</code> file.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="tdbrestore" name="tdbrestore"></a><span class=
                    "term"><span class=
                    "command"><strong>tdbrestore</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a tool for creating a <span class=
                    "application">Samba</span> <code class=
                    "filename">.tdb</code> file out of a ntdbdump.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="tdbtool" name="tdbtool"></a><span class=
                    "term"><span class=
                    "command"><strong>tdbtool</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a tool which allows simple database manipulation from
                    the command line.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="testparm" name="testparm"></a><span class=
                    "term"><span class=
                    "command"><strong>testparm</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    checks an <code class="filename">smb.conf</code> file for
                    proper syntax.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="wbinfo" name="wbinfo"></a><span class=
                    "term"><span class=
                    "command"><strong>wbinfo</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    queries a running <span class=
                    "command"><strong>winbindd</strong></span> daemon.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="winbindd" name="winbindd"></a><span class=
                    "term"><span class=
                    "command"><strong>winbindd</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    resolves names from Windows NT servers.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libnss_winbind" name=
                    "libnss_winbind"></a><span class="term"><code class=
                    "filename">libnss_winbind.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides Name Service Switch API functions for resolving
                    names from NT servers.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libnss_wins" name="libnss_wins"></a><span class=
                    "term"><code class=
                    "filename">libnss_wins.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides API functions for Samba's implementation of the
                    Windows Internet Naming Service.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libnetapi" name="libnetapi"></a><span class=
                    "term"><code class="filename">libnetapi.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides the API functions for the administration tools
                    used for Samba and remote CIFS servers.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libsmbclient" name="libsmbclient"></a><span class=
                    "term"><code class=
                    "filename">libsmbclient.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides the API functions for the Samba SMB client
                    tools.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libwbclient" name="libwbclient"></a><span class=
                    "term"><code class=
                    "filename">libwbclient.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides API functions for Windows domain client
                    services.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-03-24 11:51:10 -0500
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="rsync.html" title="rsync-3.1.3">Prev</a>
          <p>
            rsync-3.1.3
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="wget.html" title="Wget-1.20.3">Next</a>
          <p>
            Wget-1.20.3
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="netprogs.html" title=
          "Chapter&nbsp;15.&nbsp;Networking Programs">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
